;(function() {
  function reSize() {
    var baseFontSize = 100
    var designWidth = 750
    var width = window.innerWidth
    var currentFontSize = (width / designWidth) * baseFontSize
    document.querySelector('html').style.fontSize = currentFontSize + 'px'
  }
  window.onresize = function() {
    reSize()
  }
})()
